package com.heu.blood.storge.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heu.blood.common.utils.PageUtils;
import com.heu.blood.storge.entity.BloodWarningEntity;
import com.heu.blood.storge.vo.BloodTypeWarningVo;
import com.heu.blood.storge.vo.BloodWarningQueryVo;
import com.heu.blood.storge.vo.BloodWarningVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author lhh
 * @email lhh1612325771@163.com
 * @date 2024-06-27 22:05:47
 */
public interface BloodWarningService extends IService<BloodWarningEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<BloodWarningVo> bloodWarningByTime(Map<String, Object> params);

    PageUtils queryByBloodType(BloodWarningQueryVo bloodWarningQueryVo);

    int saveBloodWarning(BloodWarningEntity bloodWarning);

    List<BloodTypeWarningVo> getStockWarningList();

    String getComponentCategory(String bloodType);

}

